package com.javaweb.secondhand_trading.Dto;

import com.javaweb.secondhand_trading.entity.Order;
import com.javaweb.secondhand_trading.entity.Product;
import com.javaweb.secondhand_trading.entity.ProductImage;
import com.javaweb.secondhand_trading.entity.User;
import lombok.Data;

import java.util.List;

@Data
public class OrderDto extends Order {
    private Product product;          // 关联商品信息
    private List<ProductImage> images; // 商品图片列表
    private User buyer;               // 买家信息
    private User seller;              // 卖家信息
}